package com.ruoyi.report_hntjg.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 混凝土强度试验检测报告（回弹法）-详情视图对象 report_hntjg_hntqdhtfbg_ba_detail
 *
 * @author tll
 * @date 2024-08-07
 */
@Data
@ExcelIgnoreUnannotated
public class ReportHntjgHntqdhtfbgBaDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long detailId;

    /**
     * 主表id
     */
    @ExcelProperty(value = "主表id")
    private Long excelId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 委托编号
     */
    @ExcelProperty(value = "委托编号")
    private String weitbh;

    /**
     * 是否泵送混凝土
     */
    @ExcelProperty(value = "是否泵送混凝土")
    private String shifbs;

    /**
     * 龄期（d）
     */
    @ExcelProperty(value = "龄期", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "d=")
    private String lingq;

    /**
     * 测区数n
     */
    @ExcelProperty(value = "测区数n")
    private String ceqsn;

    /**
     * 测区强度换算值的平均值（MPa）
     */
    @ExcelProperty(value = "测区强度换算值的平均值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "M=Pa")
    private BigDecimal huanszPjz;

    /**
     * 测区强度换算值的标准差（MPa）
     */
    @ExcelProperty(value = "测区强度换算值的标准差", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "M=Pa")
    private BigDecimal huanszBzc;

    /**
     * 测区强度换算值的最小值（MPa）
     */
    @ExcelProperty(value = "测区强度换算值的最小值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "M=Pa")
    private BigDecimal huanszZxz;

    /**
     * 构件现龄期砼强度推定值（MPa）
     */
    @ExcelProperty(value = "构件现龄期砼强度推定值", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "M=Pa")
    private BigDecimal tongqdTdz;

    /**
     * 测区1
     */
    @ExcelProperty(value = "测区1")
    private BigDecimal ceq1;

    /**
     * 测区2
     */
    @ExcelProperty(value = "测区2")
    private BigDecimal ceq2;

    /**
     * 测区3
     */
    @ExcelProperty(value = "测区3")
    private BigDecimal ceq3;

    /**
     * 测区4
     */
    @ExcelProperty(value = "测区4")
    private BigDecimal ceq4;

    /**
     * 测区5
     */
    @ExcelProperty(value = "测区5")
    private BigDecimal ceq5;

    /**
     * 测区6
     */
    @ExcelProperty(value = "测区6")
    private BigDecimal ceq6;

    /**
     * 测区7
     */
    @ExcelProperty(value = "测区7")
    private BigDecimal ceq7;

    /**
     * 测区8
     */
    @ExcelProperty(value = "测区8")
    private BigDecimal ceq8;

    /**
     * 测区9
     */
    @ExcelProperty(value = "测区9")
    private BigDecimal ceq9;

    /**
     * 测区10
     */
    @ExcelProperty(value = "测区10")
    private BigDecimal ceq10;

    private Integer sort;

    public void setHuanszPjz(BigDecimal huanszPjz) {
        this.huanszPjz = BigDecimalUtil.stpTrailZero(huanszPjz);
    }

    public void setHuanszBzc(BigDecimal huanszBzc) {
        this.huanszBzc = BigDecimalUtil.stpTrailZero(huanszBzc);
    }

    public void setHuanszZxz(BigDecimal huanszZxz) {
        this.huanszZxz = BigDecimalUtil.stpTrailZero(huanszZxz);
    }

    public void setTongqdTdz(BigDecimal tongqdTdz) {
        this.tongqdTdz = BigDecimalUtil.stpTrailZero(tongqdTdz);
    }

    public void setCeq1(BigDecimal ceq1) {
        this.ceq1 = BigDecimalUtil.stpTrailZero(ceq1);
    }

    public void setCeq2(BigDecimal ceq2) {
        this.ceq2 = BigDecimalUtil.stpTrailZero(ceq2);
    }

    public void setCeq3(BigDecimal ceq3) {
        this.ceq3 = BigDecimalUtil.stpTrailZero(ceq3);
    }

    public void setCeq4(BigDecimal ceq4) {
        this.ceq4 = BigDecimalUtil.stpTrailZero(ceq4);
    }

    public void setCeq5(BigDecimal ceq5) {
        this.ceq5 = BigDecimalUtil.stpTrailZero(ceq5);
    }

    public void setCeq6(BigDecimal ceq6) {
        this.ceq6 = BigDecimalUtil.stpTrailZero(ceq6);
    }

    public void setCeq7(BigDecimal ceq7) {
        this.ceq7 = BigDecimalUtil.stpTrailZero(ceq7);
    }

    public void setCeq8(BigDecimal ceq8) {
        this.ceq8 = BigDecimalUtil.stpTrailZero(ceq8);
    }

    public void setCeq9(BigDecimal ceq9) {
        this.ceq9 = BigDecimalUtil.stpTrailZero(ceq9);
    }

    public void setCeq10(BigDecimal ceq10) {
        this.ceq10 = BigDecimalUtil.stpTrailZero(ceq10);
    }
}
